/*
 * Copyright (c) 2002-2004, xRhino, Inc.
 *
 * This library is free software; you can redistribute and/or modify
 * it under the terms of the dual license distributed with this source
 * package (a combined Trolltech QPL/GPL-compatible license)
 *
 * Under this dual license scheme, a separate license is available for use of 
 * this code with a proprietary (closed) system. For more information on the 
 * license, please see the LICENSE file distributed with this source package.
 */
#ifndef SUGPOINT_H
#define SUGPOINT_H

#include "SugTypes.h"

/**
 * This class represents the SVGPoint from the SVG IDL.  At the moment 
 * it is only used in SugPolygon.
 */
class SugPoint
{
  protected:
   /**
    * The x location variable.
    */
    SugRealType mX;

   /**
    * The y location variable.
    */
   SugRealType mY;

  public:
   /**
    * Returns the x variable.
    */
    SugRealType getX();

   /**
    * Returns the y variable.
    */
   SugRealType getY();

   /**
    * Sets the x variable.
    */
   SugRealType setX(SugRealType newX);

   /**
    * Sets the y variable.
    */
   SugRealType setY(SugRealType newY);

   /**
    * The class constructor.  
    */
   SugPoint();

   /**
    * The class destructor.
    */
   ~SugPoint();

};

#endif
